package singleton.demo3;

import singleton.demo1.XieFactory;

public class MyRunnable implements Runnable{
    @Override
    public  void run() {
        YaFactory1 yaFactory1 = YaFactory1.getInstance();
        System.out.println(Thread.currentThread().getName()+"获取到的鞋厂为:"+yaFactory1);
    }
}
